package com.rgs.ssm.service;

import com.rgs.ssm.domain.Permission;

import java.util.List;

/**
 * @author Ren Gaoshuai
 * @create 2021-05-29 12:57
 *
 * 权限模块的业务层接口
 **/
public interface IPermissionService {


    List<Permission> findAll(Integer page, Integer size);

    List<Permission> findAll();

    Permission findById(Integer id);

    void save(Permission permission);

    void delete(Integer id);

    void update(Permission permission);


}
